<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>指尖金融</title>
		<link href="../../../css/common.css" type="text/css" rel="stylesheet">
		<link href="../../../css/base.css" type="text/css" rel="stylesheet">
		<link href="../../../res/png/icon.png" rel="shortcut icon" />
		<link rel="stylesheet" type="text/css" href="../../../js/My97DatePicker/skin/WdatePicker.css" />
		<link rel="stylesheet" type="text/css" href="verifyReceiptList.css" />
	</head>

	<body>
		<div class="wrapper">
			<!-- 顶部菜单栏 -->
			<div id="header" class="header">
			</div>
			<div class="main" id="main">
				<!-- 左侧菜单栏 -->
				<div id="leftMenu" class="left"></div>
				<div class="pages">
					<div class="page" id="verifyReceiptList">
						<p class="table-head">
							<label class="table-title">当前位置:收款单</label>
						</p>
						<div class="table-search">
							<div class="searchDataLine">
								<div>
									核销时间：
									<input style="width: 110px;" class="Wdate startDate" type="text" onFocus="WdatePicker({})" />--
									<input style="width: 110px;" class="Wdate endDate" type="text" onFocus="WdatePicker({minDate:$('.statementBeginDate').val()})" />
								</div>
								<div>
									流水号：<input class="writeoffNumber" type="text" />
								</div>
								<div>
									付款单位：<input class="drawee" type="text" />
									<button class="table-search-button" id="receiptSearch">查询</button>
								</div>
							</div>
						</div>
						<div style="margin: 0 40px;">
							<!--<a href="verifyReceipt.html?type=compile" class="verifyButton">编制</a>
							<a href="verifyReceipt.html?type=normal" class="verifyButton">核销</a>-->
							<table class="table" cellspacing="0px" cellpadding="0px">
								<tr class="table_title">
									<th style="width: 15%;">流水号</th>
									<th style="width: 15%;">收款单位</th>
									<th style="width: 15%;">付款单位</th>
									<th style="width: 10%;">金额</th>
									<th style="width: 10%;">余额</th>
									<th style="width: 10%;">经办人</th>
									<th style="width: 15%;">时间</th>
									<th style="width: 10%;">操作</th>
								</tr>
								<tbody id="verifyReceiptBody"></tbody>
							</table>
							<div id="pagenation" class="pagerCon"></div>
							<script type="text/template" id="verifyReceiptTpl">
								{@each datas as it}
								<tr billReceivableId="${it.billReceivableId}">
									<td>${it.writeoffNumber}</td>
									<td>${it.payee}</td>
									<td>${it.drawee}</td>
									<td>&#65509;${formatCurrency(it.amount)}</td>
									<td>&#65509;${formatCurrency(it.balance)}</td>
									<td>${it.operator}</td>
									<td>${it.createDateTime}</td>
									<td>
										{@if it.balance*1 > 0}
										<a href="javascript:void(0);" class="verify">核销</a>
										{@/if}
										<a href="javascript:void(0);" class="detail">详情</a>
									</td>
								</tr>
								{@/each}
							</script>
						</div>
					</div>
				</div>
				<div id="popdialog"></div>
			</div>
			<!-- 底部 -->
			<div id="footer" class="none footer">
			</div>
			<!--删除确认框-->
			<div class="dialog none" id="confirmDialog" style="width:300px;">
				<div class="dialogTitle"></div>
				<button class="closeDiv">×</button>
				<div class="dialogContent">
				</div>
				<div class="footerBtn">
					<div class="dialogBtn dialogHandlerBtn">确定</div>
				</div>
			</div>
			<div id="fullBg" class="fullBg none"></div>
			<div id="popdialog">
			</div>
		</div>
		<script type="text/javascript" src="../../../js/jquery-1.11.1.min.js"></script>
		<script type="text/javascript" src="../../../js/seajs/sea.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-text.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-css.js"></script>
		<script type="text/javascript" src="../../../js/platform/config.js"></script>
		<script type="text/javascript" src="../../../js/juicer-min.js"></script>
		<script src="../../../js/ajaxfileupload.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../js/My97DatePicker/WdatePicker.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			seajs.use('./verifyReceiptList', function(verifyReceiptList) {
				verifyReceiptList.init();
			});
		</script>
	</body>

</html>